package com.zhang.common.core.exception.file;

/**
 * @Class com.zhang.common.core.exception.file
 * @Author zhang
 * @Date 2025/9/11 17:28
 * @Description 文件名大小限制异常类
 **/
public class FileSizeLimitExceededException extends FileException {

    /**
     * 序列化序号
     */
    private static final long serialVersionUID = -8624369779400374493L;

    /**
     * 构造函数初始化
     *
     * @param defaultMaxSize 默认限制大小
     */
    public FileSizeLimitExceededException(long defaultMaxSize) {
        super("upload.exceed.maxSize", new Object[]{defaultMaxSize});
    }

}
